/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fertigproz;

import fertigproz.models.MitarbeiterModel;

/**
 *
 * @author zimmbi
 */
public class Main {

    private MySQLDriver mysql;
    private MitarbeiterModel mymodel;

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        //new MainFrame().setVisible(true);

        new Main();
    }

    public Main() {
        mysql = new MySQLDriver("82.195.231.26", "fertigproz", "fertigproz", "fertigproz");
        if (mysql.connect()) {
            System.out.println("OK");
        } else {
            System.out.println("NOT OK");
            System.exit(1);
        }

        new AlleUnterteile(mysql).setVisible(true);
    }
}
